/* 模块1：顶部导航 */
.top-nav {
  height: 25px;
  background-color: #111;
  color: #fff;
}
.top-nav ul {
  /* 开启 flex 布局 */
  display: flex;
  /* 主轴对齐：靠右 */
  justify-content: flex-end;
  /* 文字垂直居中 */
  height: 25px;
  line-height: 25px;
}
.top-nav ul li {
  /* 修改普通文字大小 */
  font-size: 12px;
  margin-left: 20px;
}
.top-nav ul li .iconfont {
  /* 修改字体图标大小 */
  font-size: 12px;
}
/* 模块2：主体导航 */
.navbar {
  height: 78px;
}
.navbar .container {
  /* 开启 flex 布局 */
  display: flex;
  /* 👍 两端对齐 */
  justify-content: space-between;
  height: 78px;
  line-height: 78px;
}
.navbar .container .logo img {
  width: 133px;
  height: 30px;
}
.navbar .container ul {
  display: flex;
}
.navbar .container ul li {
  margin: 0 15px;
}
.navbar .container .right .buy {
  margin-right: 20px;
}
.navbar .container .right .buy .icon-bags {
  font-size: 20px;
}
.navbar .container .right .icon-search {
  font-size: 20px;
}
/* 模块3：轮播图 */
.swiper {
  width: 100%;
  height: 500px;
}
/* 模块4：推荐产品 */
.goods h2 {
  font-size: 40px;
  height: 190px;
  line-height: 190px;
  text-align: center;
}
.goods .goods-floor {
  width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}
.goods .width01 {
  width: 855px;
}
.goods .width02 {
  width: 410px;
}
/* 模块5：返回顶部 */
.top {
  width: 44px;
  height: 44px;
  background-color: rgba(0, 0, 0, 0.3);
  position: fixed;
  right: 0;
  bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.4s;
  opacity: 0;
}
.top .iconfont {
  color: #fff;
  font-size: 30px;
}
.top:hover {
  background-color: rgba(0, 0, 0, 0.5);
}
